package taxicall.entities;

import java.io.Serializable;

public class TaxiRoute implements Serializable {

	private static final long serialVersionUID = 7746472387632246686L;
	
	private TaxiLocation from;
	private TaxiLocation to;
	
	public TaxiRoute(TaxiLocation from, TaxiLocation to) {
		this.from = from;
		this.to = to;
	}

	public TaxiLocation getFrom() {
		return from;
	}

	public void setFrom(TaxiLocation from) {
		this.from = from;
	}

	public TaxiLocation getTo() {
		return to;
	}

	public void setTo(TaxiLocation to) {
		this.to = to;
	}
}
